package com.example.campus_activity_backend.service;

import com.example.campus_activity_backend.domain.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Hongxia
* @description 针对表【t_manager_student】的数据库操作Service
* @createDate 2023-11-17 14:35:16
*/
public interface StudentService extends IService<Student> {
    /**
     * 添加学员
     * @param student
     * @return
     */
    public long addStudent(Student student);

    /**
     * 审核学员
     * @param studentId
     * @param status 0表示未通过 1表示已审核
     * @return
     */
    public boolean auditStudent(Integer studentId,Integer status);

    /**
     * 批量审核学员
     * @param idList 学员id集合
     * @param status 状态
     * @return 成功
     */
    public boolean batchAuditStudent(List<Integer> idList,Integer status);
}
